//# sourceURL=http://uMapApp/UI/Panel/CountTablePanel
define([
    "mhjs/mhjs",
    "./FloatPanel"
    , "./PanelBlock/CountTableBlock"
], function (
    mhjs,
    FloatPanel
    , CountTableBlock
) {

    function CountTablePanel(option) {

        var _this = this;

        //内置对象
        _this.ui = _this.ui || {};
        _this.block = new CountTableBlock();


        //类继承，参数赋值
        FloatPanel.call(_this, option);
        _this.addClass("countTablePanel");

        _this
            .append(_this.block);

    }

    var _class = CountTablePanel;
    mhjs.Inherit(_class, FloatPanel);

    Object.defineProperties(_class.prototype, {
        "title": {
            set: function (title) {
                var _this = this;
                _this._title = title;
                _this.block.title = title;
            },
            get: function () {
                return this._title;
            }
        },
        "app"  : {
            set: function (app) {
                var _this = this;
                _this._app = app;
                _this.block.app = app;
            },
            get: function () {
                return this._app;
            }
        },
        "data" : {
            set: function (data) {
                var _this = this;
                _this._data = data;
                _this.block.data = data;

            },
            get: function () {
                return this._data;
            }
        }
    });

    return _class;

});